package org.dgh;

import java.util.Date;

public class Main {
    public static void main(String[] args) throws InterruptedException {
        for (; ; ) {
            Date d = new Date();
            System.out.println("当前时间：" + d.getTime());
            Thread.sleep(1000);
        }
    }
}
